<!-- 登录 -->
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <%- include common %>
    <title>登录</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }

        #box {
            position: relative;
            background: #ff0000;
        }

        .boxmon {
            position: absolute;
        }


        .boximg {
            position: absolute;
        }

        .h4 {
            font-size: 40px;
            color: black;
        }

        .contianer {
            position: absolute;
            top: 180px;
            left: 40%;
        }

        .col-sm-3 {
            width: 476px;
            height: 584px;
            background: rgb(255, 255, 255);
            text-align: center;
            border: 1px solid #4079F5;
        }

        .form-control {
            width: 100%;
        }

        img {
            width: 100%;
            height: 800px;
            display: block;
        }
    </style>
</head>

<body>
    <%- include("head",{title:"login",username:""}) %>
    <div id="box">
        <div class="boxmon"><img src="http://123.56.47.54:5678/imgs/img1.jpg" alt=""></div>
        <div class="boximg"><img src="http://123.56.47.54:5678/imgs/beijing.png" alt=""></div>

        <div class="contianer container-fluid">
            <div class="col-sm-3 col-lg-3 col-md-3">
                <h4 class="h4 text-info">登 录</h4>
                <form action="/vue/postlogin" method="POST">
                    <div class="form-group">
                        <input type="text" class="form-control" name="username" value="<%- username %>" id="username"
                            placeholder="用户名">
                    </div>

                    <div class="form-group">
                        <input type="password" class="form-control" name="userpwd" id="userpwd" placeholder="密码">
                    </div>
                    <div class="form-group">
                        <p><a class="text-danger" href="/register">没有账号,立即注册</a></p>
                    </div>
                    <button type="submit" class="btn btn-primary">登录</button>
                    <button type="reset" class="btn btn-danger">重置</button>
                </form>
            </div>
        </div>
    </div>
    <%- include foot %>
</body>

</html>